﻿<Page
    x:Name="pageRoot"
    x:Class="TestMapPinsApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TestMapPinsApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:maps="using:Windows.UI.Xaml.Controls.Maps"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <maps:MapControl MapServiceToken="*********"
            x:Name="MapControl" 
            ZoomLevel="12"
            LandmarksVisible="False"
            TrafficFlowVisible="False"
            PedestrianFeaturesVisible="False">
            <Ellipse Width="15" Height="15" Fill="Green"
                     maps:MapControl.Location="{Binding ElementName=pageRoot, Path=PinPosition}"/>

        </maps:MapControl>
    </Grid>
</Page>
